package com.data2wisdom.comm.base.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author LV
 * 分页DTO，用于存储查询后的分页数据
 */
public class CustPageDto implements Serializable{
	private static final long serialVersionUID = -2792028968202290118L;
	private List<Object[]> data = new ArrayList<Object[]>();
    private long total;
    private int totalPage;
    private int currPage;
	public List<Object[]> getData() {
		return data;
	}
	public void setData(List<Object[]> data) {
		this.data = data;
	}
	public long getTotal() {
		return total;
	}
	public void setTotal(long total) {
		this.total = total;
	}
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public int getCurrPage() {
		return currPage;
	}
	public void setCurrPage(int currPage) {
		this.currPage = currPage;
	}
	public CustPageDto(List<Object[]> data,long total, int totalPage, int currPage) {
		super();
		this.data = data;
		this.total = total;
		this.totalPage = totalPage;
		this.currPage = currPage;
	}
	
}
